#ifndef XML_PARSER
#define XML_PARSER
#include <iostream>
#include <string>
#include <map>
#include <vector>
#include "dto/TractDTO.h"
#include "dto/SvchDTO.h"
#include "dto/TractSVCHReactionInputDTO.h"

using namespace std;

map<double,double> parseSVCHImpulseVoltageArray(string svchImpulseVoltageChar);

shared_ptr<std::vector<TractDTO*>> parseTractDTOXml(string tractDTOXml);
shared_ptr<SVCHImpulseDTO> parseSvchDTOXml(string svchDTOXml);
TractSVCHReactionInputDTO* parseTractSVCHReactionInputXML(string tractSVCHReactionInputXML);
#endif